package com.cyp.blogsystem.mapper;


import com.cyp.blogsystem.pojo.Category;

import java.util.List;

public interface CategoryMapper {
    /**
     * 查询所有分类
     */
    List<Category> selectAll();

    /**
     * 根据ID查询
     */
    Category selectById(Long id);
}